<div ng-controller="NewDeviceModalCtrl">
<div class="modal-header">
    <h3 class="modal-title">新增</h3>
</div>
<div class="modal-body">
    <div class="row">
	    <div class="col-sm-10 ">	      
	        <form class="bs-example form-horizontal" >

	            <div class="form-group">
	              <label class="col-lg-3 control-label">产品名称</label>
	              <div class="col-lg-9">
	                <input type="text" class="form-control"  ng-model="oo.proname" readonly="">     
	              </div>
	            </div>

	           	<div class="form-group">
	              <label class="col-lg-3 control-label">设备名称</label>
	              <div class="col-lg-9">
	                <input type="text" class="form-control"  ng-model="oo.equipment_name">     
	              </div>
	            </div>
	           
	            <div class="form-group">
	              <label class="col-lg-3 control-label">设备mac地址</label>
	              <div class="col-lg-9">
	                <input type="text" class="form-control"  ng-model="oo.mac_address">     
	              </div>
	            </div>

	            <div class="form-group">
	              <label class="col-lg-3 control-label">设备编号</label>
	              <div class="col-lg-9">
	                <input type="text" class="form-control"  ng-model="oo.equipment_snumber">     
	              </div>
	            </div>

	            <div class="form-group">
	              <label class="col-lg-3 control-label">设备类别</label>
	              <div class="col-lg-9">
	                <select class="form-control" ng-model="oo.type">
	                	<option value="">--请选择设备类别--</option>
	                	<option>电量</option>
	                	<option>气象站</option>
	                </select>  
	              </div>
	            </div>	

	           </form>
	        </div>
	    </div>
	</div>
</div>
<div class="modal-footer">                  
    <button class="btn btn-default" ng-click="cancel()">取消</button>
    <button class="btn btn-info" ng-click="ok()">确定</button>
</div>
</div>